NDepend.API Documentation
Append<T>(IEnumerable<T>,T,T,T) Method
NDepend.Helpers Namespace > ExtensionMethodsEnumerable Class > Append Method : Append<T>(IEnumerable<T>,T,T,T) Method
The element type.
A sequence of elements.
The element to append first.
The element to append after element1.
The element to append after element2.
Append element1, element2 and element3 at the end of seq.
Syntax
[Extension()] 
[IteratorStateMachine(NDepend.Helpers.ExtensionMethodsEnumerable/d__11`1)] 
public static IEnumerable<T> Append<T>( 
   IEnumerable<T> seq, 
   T element1, 
   T element2, 
   T element3 
)

Parameters

seq
A sequence of elements.
element1
The element to append first.
element2
The element to append after element1.
element3
The element to append after element2.

Type Parameters

T
The element type.
Remarks
To append more than 3 elements to seq, use the .Concat(new [] { a, b, c, d ... } ) syntax.This extension method has a constant time complexity.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsEnumerable Class
ExtensionMethodsEnumerable Members
Overload List